[INFO] cloning repository https://github.com/1000VICKY/ishell_in_Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1000VICKY/ishell_in_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 048da41d5e58d955fa14e649fa95f9e9a1d5244c
[INFO] building 1000VICKY/ishell_in_Rust against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/1000VICKY/ishell_in_Rust on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/1000VICKY/ishell_in_Rust
[INFO] finished tweaking git repo https://github.com/1000VICKY/ishell_in_Rust
[INFO] tweaked toml for git repo https://github.com/1000VICKY/ishell_in_Rust written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/1000VICKY/ishell_in_Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b10e28da32d466238f7c775d022aebecfe0182cbf0fc87769b8d934537222bd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3b10e28da32d466238f7c775d022aebecfe0182cbf0fc87769b8d934537222bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b10e28da32d466238f7c775d022aebecfe0182cbf0fc87769b8d934537222bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b10e28da32d466238f7c775d022aebecfe0182cbf0fc87769b8d934537222bd", kill_on_drop: false }`
[INFO] [stdout] 3b10e28da32d466238f7c775d022aebecfe0182cbf0fc87769b8d934537222bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5da14e29113bfb355b5e6ad71e214815f897e57daee491fcd9786936cf0cc061
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5da14e29113bfb355b5e6ad71e214815f897e57daee491fcd9786936cf0cc061", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling cty v0.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling printf-rs v0.1.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling cstr_core v0.2.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling printf v0.1.0
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling ctrlc v3.1.4
[INFO] [stderr]    Compiling rust_ishell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Output`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Output,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr`, `CString`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     CString,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 34 |     CStr
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_int`, `c_void`
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     c_int,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     c_void
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `printf::printf`
[INFO] [stdout]  --> src/echo.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use printf::printf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/echo.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     if (target_length > 0) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/echo.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (to_print.is_ok() == true) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/echo.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if (temporary_u == 10) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     while true
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if (EXIT_STRING.to_string() == input) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 185 |         } else if (CLEAR_STRING.to_string() == input ) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:193:16
[INFO] [stdout]     |
[INFO] [stdout] 193 |             if (response.is_ok() != true) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |         } else if (DEL_STRING.to_string() == input) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:200:16
[INFO] [stdout]     |
[INFO] [stdout] 200 |             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:204:16
[INFO] [stdout]     |
[INFO] [stdout] 204 |             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 |         if (input.len() == 0) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:285:12
[INFO] [stdout]     |
[INFO] [stdout] 285 |         if (written_bytes.is_ok() != true) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:303:16
[INFO] [stdout]     |
[INFO] [stdout] 303 |             if (inner_value == 0 ) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:307:16
[INFO] [stdout]     |
[INFO] [stdout] 307 |             if (previous_newline_count <= current_newline_count) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:320:16
[INFO] [stdout]     |
[INFO] [stdout] 320 |             if (inner_value == 10) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 |     if (new_file.is_ok() != true) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:360:8
[INFO] [stdout]     |
[INFO] [stdout] 360 |     if (target_path.exists() != true) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:373:12
[INFO] [stdout]     |
[INFO] [stdout] 373 |         if (needle == *value) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `return` value
[INFO] [stdout]    --> src/main.rs:374:20
[INFO] [stdout]     |
[INFO] [stdout] 374 |             return (index as i32);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:384:8
[INFO] [stdout]     |
[INFO] [stdout] 384 |     if (newline_string.len() == 0) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:392:16
[INFO] [stdout]     |
[INFO] [stdout] 392 |             if (_bytes[_bytes.len() -1] == 10) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:395:16
[INFO] [stdout]     |
[INFO] [stdout] 395 |             if (_bytes[_bytes.len() - 1] == 13) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:404:12
[INFO] [stdout]     |
[INFO] [stdout] 404 |         if (response.is_ok() == true) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `execute_file` is never read
[INFO] [stdout]    --> src/main.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let mut execute_file : std::fs::File = create_new_file( &execute_file_path);
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `written_bytes` is never read
[INFO] [stdout]    --> src/main.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 |         written_bytes = validate_file.write_all(temp_file.as_bytes());
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/echo.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let input : String;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:310:17
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 unsafe {
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `echo`
[INFO] [stdout]   --> src/echo.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn echo (target : String ) -> usize
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print`
[INFO] [stdout]   --> src/echo.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn print(target: &str) -> () {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `dump`
[INFO] [stdout]   --> src/echo.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn dump<T>(target: T)  -> () where T : std::fmt::Debug {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_c_string`
[INFO] [stdout]   --> src/echo.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn print_c_string(output :Vec<u8>) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `printf_c_string`
[INFO] [stdout]   --> src/echo.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn printf_c_string(output: Vec<u8>) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_file_resource`
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn get_file_resource <'a> (path: &'a String) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `putchar`
[INFO] [stdout]   --> src/main.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn putchar(s: c_char);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `first_word`
[INFO] [stdout]   --> src/main.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn first_word(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/echo.rs:53:36
[INFO] [stdout]    |
[INFO] [stdout] 53 |             puts(to_print.unwrap().as_ptr());
[INFO] [stdout]    |                  ----------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/echo.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |             panic!(c_percent.unwrap_err());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]    = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 75 |             panic!("{}", c_percent.unwrap_err());
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 75 |             std::panic::panic_any(c_percent.unwrap_err());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/echo.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |             panic!(c_string_result.unwrap_err());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 86 |             panic!("{}", c_string_result.unwrap_err());
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 86 |             std::panic::panic_any(c_string_result.unwrap_err());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `printf` redeclared with a different signature
[INFO] [stdout]   --> src/echo.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]    |             ------------------------------------------------------------- `printf` previously declared here
[INFO] [stdout] ...
[INFO] [stdout] 99 |             fn printf(format: *const c_char, args: c_char) -> c_int;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(clashing_extern_declarations)]` on by default
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*const i8, *mut i8) -> i32`
[INFO] [stdout]               found `unsafe extern "C" fn(*const i8, i8) -> i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/echo.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |             panic!(c_percent.unwrap_err());
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 108 |             panic!("{}", c_percent.unwrap_err());
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 108 |             std::panic::panic_any(c_percent.unwrap_err());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `printf` redeclared with a different signature
[INFO] [stdout]    --> src/echo.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 66  |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]     |             ------------------------------------------------------------- `printf` previously declared here
[INFO] [stdout] ...
[INFO] [stdout] 134 |             fn printf(format: *const c_char, args: *mut c_void) -> c_int;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, *mut i8) -> i32`
[INFO] [stdout]                found `unsafe extern "C" fn(*const i8, *mut std::ffi::c_void) -> i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/main.rs:201:57
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                                                         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("Failed to remove the file named {} which you selected .", ...);
[INFO] [stdout]     |                                                                                 ^^^^^
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("{}", "Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/main.rs:205:57
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                                                         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("Failed to remove the file named {} which you selected .", ...);
[INFO] [stdout]     |                                                                                 ^^^^^
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("{}", "Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     validate_file.write_all(initialize_input.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.rust_ishell.9bf60js2-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb" "/opt/rustwide/target/debug/deps/rust_ishell-d8c63a6bb6b4dcfb.1hwk87h71nk9oour.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/printf-e3df0123276683da/out" "-L" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-llegacy_stdio_definitions" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/libprintf-1e70bfa4c799a236.rlib" "/opt/rustwide/target/debug/deps/libctrlc-29b07b023b86a36d.rlib" "/opt/rustwide/target/debug/deps/libnix-174e3ffa5d617d15.rlib" "/opt/rustwide/target/debug/deps/liblibc-d837038229ad3e3a.rlib" "/opt/rustwide/target/debug/deps/libvoid-119da90aa4f28a40.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-c4f6196cf7d68209.rlib" "/opt/rustwide/target/debug/deps/libbitflags-7f78c1de5599d643.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c6dddd3d354e6bea.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c2ca47afdcc5e309.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b47be2942017e108.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-20a1e49116ab0df9.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-25e09d9868291683.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9c99fb6e5ca5159e.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-85040d7563599960.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0e4f7587da8acf20.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7be0a6711ed15b5c.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00672fabc4ff9c9d.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-72fe231ef0473d15.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-019d54ecc304b655.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-cc7d9343e4f608be.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9849bb0fbad7f0f5.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b33f9cbbc9652fe.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -llegacy_stdio_definitions
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ishell`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5da14e29113bfb355b5e6ad71e214815f897e57daee491fcd9786936cf0cc061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5da14e29113bfb355b5e6ad71e214815f897e57daee491fcd9786936cf0cc061", kill_on_drop: false }`
[INFO] [stdout] 5da14e29113bfb355b5e6ad71e214815f897e57daee491fcd9786936cf0cc061
